package com.bw.home.state

import com.bw.home.model.entity.CommentEntity
import com.bw.mvicore.IState

/**
 * @author:created by hahajing
 * 时间：2024/5/6 0006
 * 企鹅号:444511958
 * 描述:
 */
sealed class CommentState:IState {
    object CommentDefaultState:CommentState()

    data class CommentPublishSuccess(val entity:CommentEntity):CommentState()

    data class CommentGetSuccess(val list:List<CommentEntity>):CommentState()

    data class CommentCommonSuccess(val result:Boolean):CommentState()

    data class CommentFailed(val throwable: Throwable):CommentState()
}